package com.sdy.healthcode.biz.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sdy.healthcode.biz.dto.DoctorManDTO;
import com.sdy.healthcode.biz.dto.DoctorManagerDTO;
import com.sdy.healthcode.biz.model.ExpertsInformation;
import com.sdy.mvc.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 专家简介、照片统计表 Mapper 接口
 * </p>
 *
 * @author zzq
 * @since 2020-03-04
 */
public interface ExpertsInformationMapper extends BaseMapper<ExpertsInformation> {

    /**
     * 根据条件获取医生列表数据
     */
    List<DoctorManDTO> selectParamDoctor(@Param("name") String name, @Param("suspend_service") Integer suspendService, Page page);

    /**
     * 医生分页查询
     */
    IPage<DoctorManagerDTO.Doctor> pageDoctorManage(Page<DoctorManagerDTO.Doctor> page, @Param("param") Map<String, Object> map);
}
